﻿//-----------------------------------------------------------------------
// <copyright file="BookDataAccessLayerFactory.cs" company="SampleThreeTier">
//     Sample 3 tier application by Anurag.
// </copyright>
//-----------------------------------------------------------------------
namespace DataAccessLayerFactory
{
    using DataAccessLayerContracts;
    using DataAccessLogic;
    
    /// <summary>
    /// The book data access layer factory static class
    /// </summary>
    public static class BookDataAccessLayerFactory
    {
        /// <summary>
        /// Gets the book processing data instance.
        /// </summary>
        /// <returns>The books data access logic</returns>
        public static IBookProcessingData GetBookProcessingDataInstance()
        {
            return new BooksDataAccessLogic();
        }
    }
}
